3.332 \(\int \frac{x^3}{1+x^4+x^8} \, dx\)

Optimal. Leaf size=23 \[ \frac{\tan ^{-1}\left (\frac{2 x^4+1}{\sqrt{3}}\right )}{2 \sqrt{3}} \]

[Out]

ArcTan[(1 + 2*x^4)/Sqrt[3]]/(2*Sqrt[3])

________________________________________________________________________________________

Rubi [A]  time = 0.0212884, antiderivative size = 23, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.214, Rules used = {1352, 618, 204} \[ \frac{\tan ^{-1}\left (\frac{2 x^4+1}{\sqrt{3}}\right )}{2 \sqrt{3}} \]

Antiderivative was successfully verified.

[In]

Int[x^3/(1 + x^4 + x^8),x]

[Out]

ArcTan[(1 + 2*x^4)/Sqrt[3]]/(2*Sqrt[3])

Rule 1352

Int[(x_)^(m_.)*((a_) + (c_.)*(x_)^(n2_.) + (b_.)*(x_)^(n_))^(p_.), x_Symbol] :> Dist[1/n, Subst[Int[(a + b*x +
 c*x^2)^p, x], x, x^n], x] /; FreeQ[{a, b, c, m, n, p}, x] && EqQ[n2, 2*n] && EqQ[Simplify[m - n + 1], 0]

Rule 618

Int[((a_.) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> Dist[-2, Subst[Int[1/Simp[b^2 - 4*a*c - x^2, x], x]
, x, b + 2*c*x], x] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 204

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> -Simp[ArcTan[(Rt[-b, 2]*x)/Rt[-a, 2]]/(Rt[-a, 2]*Rt[-b, 2]), x] /
; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rubi steps

\begin{align*} \int \frac{x^3}{1+x^4+x^8} \, dx &=\frac{1}{4} \operatorname{Subst}\left (\int \frac{1}{1+x+x^2} \, dx,x,x^4\right )\\ &=-\left (\frac{1}{2} \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1+2 x^4\right )\right )\\ &=\frac{\tan ^{-1}\left (\frac{1+2 x^4}{\sqrt{3}}\right )}{2 \sqrt{3}}\\ \end{align*}

Mathematica [A]  time = 0.0056358, size = 23, normalized size = 1. \[ \frac{\tan ^{-1}\left (\frac{2 x^4+1}{\sqrt{3}}\right )}{2 \sqrt{3}} \]

Antiderivative was successfully verified.

[In]

Integrate[x^3/(1 + x^4 + x^8),x]

[Out]

ArcTan[(1 + 2*x^4)/Sqrt[3]]/(2*Sqrt[3])

________________________________________________________________________________________

Maple [A]  time = 0.002, size = 19, normalized size = 0.8 \begin{align*}{\frac{\sqrt{3}}{6}\arctan \left ({\frac{ \left ( 2\,{x}^{4}+1 \right ) \sqrt{3}}{3}} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^3/(x^8+x^4+1),x)

[Out]

1/6*arctan(1/3*(2*x^4+1)*3^(1/2))*3^(1/2)

________________________________________________________________________________________

Maxima [A]  time = 1.51776, size = 24, normalized size = 1.04 \begin{align*} \frac{1}{6} \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, x^{4} + 1\right )}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/(x^8+x^4+1),x, algorithm="maxima")

[Out]

1/6*sqrt(3)*arctan(1/3*sqrt(3)*(2*x^4 + 1))

________________________________________________________________________________________

Fricas [A]  time = 1.45901, size = 61, normalized size = 2.65 \begin{align*} \frac{1}{6} \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, x^{4} + 1\right )}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/(x^8+x^4+1),x, algorithm="fricas")

[Out]

1/6*sqrt(3)*arctan(1/3*sqrt(3)*(2*x^4 + 1))

________________________________________________________________________________________

Sympy [A]  time = 0.116641, size = 26, normalized size = 1.13 \begin{align*} \frac{\sqrt{3} \operatorname{atan}{\left (\frac{2 \sqrt{3} x^{4}}{3} + \frac{\sqrt{3}}{3} \right )}}{6} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**3/(x**8+x**4+1),x)

[Out]

sqrt(3)*atan(2*sqrt(3)*x**4/3 + sqrt(3)/3)/6

________________________________________________________________________________________

Giac [A]  time = 1.16556, size = 24, normalized size = 1.04 \begin{align*} \frac{1}{6} \, \sqrt{3} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, x^{4} + 1\right )}\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^3/(x^8+x^4+1),x, algorithm="giac")

[Out]

1/6*sqrt(3)*arctan(1/3*sqrt(3)*(2*x^4 + 1))